package com.ynet.middleground.contract.bean;

import java.io.Serializable;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author daigaole
 * @description 启动流程请求类
 * @date 2020-04-17 15:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "启动流程信息", description = "启动流程信息")
public class CompleteTask implements Serializable {

    private static final long serialVersionUID = 1387525739733050281L;

    @ApiModelProperty(value = "备注", notes = "备注", dataType = "String")
    private String comment;

    @ApiModelProperty(value = "任务自定义参数\n可记录仅和当前任务相关的数据", notes = "任务自定义参数", dataType = "java.util.Map")
    private Map<String, Object> variables;

    @ApiModelProperty(value = "流程自定义参数\n可存放业务信息，以及流程模板配置参数信息，同名参数，会覆盖之前的数据", notes = "流程自定义参数",
        dataType = "java.util.Map")
    private Map<String, Object> processVariables;

}
